﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Bricks.Component.Utils;
using Bricks.Core;
using Bricks.Site.Models;


namespace Bricks.Site
{
    /// <summary>
    ///     账户模块站点业务契约
    /// </summary>
    public interface IAccountSiteContract : IMemberService
    {
        /// <summary>
        ///     用户登录
        /// </summary>
        /// <param name="model">登录模型信息</param>
        /// <returns>业务操作结果</returns>
        OperationResult Login(LoginView model);

        /// <summary>
        ///     用户退出
        /// </summary>
        void Logout();
    }
}